package ophiux.api.sdk.test.repair;

import ophiux.api.sdk.OphiuxApiException;
import ophiux.api.sdk.client.DefaultOphiuxClient_New;
import ophiux.api.sdk.client.IOphiuxClient;
import ophiux.api.sdk.request.repair.RepairEvaluateRequest;
import ophiux.api.sdk.response.repair.RepairEvaluateResponse;

public class repairEvaluate_TEST {
	public static void main(String[] args) {
		String url = "http://192.168.6.12:8081/ophiuxDataService2/ws/service?wsdl";
		String userName = "jiuyi160";
		String userPwd = "123456";
		String token = "123456";
		IOphiuxClient client = new DefaultOphiuxClient_New(url, userName, userPwd,token);
		RepairEvaluateRequest req = new RepairEvaluateRequest();
		req.setREPAIR_ID("113");
		req.setSCORE("0");
		req.setUSER_ACC("system");
		req.setUSER_CODE("");
		req.setUSER_NAME("何海龙");
		req.setREMARK("差");
		
		
		RepairEvaluateResponse resp = null;
		try {
			resp = client.executor(req);
	
		} catch (OphiuxApiException e) {
			e.printStackTrace();
		}
	
		System.out.println(resp.toString());
	}
}
